#!/usr/bin/make -f

include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_BUILDDIR = $(CURDIR)/jhMaster
DEB_MAKE_MAKEFILE = GNUmakefile

install/javahelp::
	for i in jhall.jar  jhbasic.jar  jh-client.jar  jh.jar  \
		jsearch-client.jar  jsearch-indexer.jar  jsearch.jar; do \
	dh_link /usr/share/java/$$i \
		/usr/share/java/`basename $$i .jar`$(DEB_UPSTREAM_VERSION).jar; done
